package cn.okcode.slowjson;

public class PrintStackTrace {
    public static void main(String[] args) {
        //StringBuilder output = new StringBuilder();
        //for (Map.Entry<Thread, StackTraceElement[]> stackTrace : Thread.getAllStackTraces().entrySet()) {
        //    Thread thread = stackTrace.getKey();
        //    output.append(thread)
        //            .append(",tid:").append(thread.getId())
        //            .append(",isAlive:").append(thread.isAlive())
        //            .append(",isInterrupted:").append(thread.isInterrupted())
        //            .append("<br>\n");
        //    for (StackTraceElement element : stackTrace.getValue()) {
        //        output.append("\t").append(element).append("<br>\n");
        //    }
        //    output.append("----------------------------------------------------------<br>\n");
        //}
        //System.out.println(output);

        System.out.println("12345".substring(0,2));
    }
}
